package com.yumis.service.model.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Data
@Table(name = "yk_staff")
public class Staff {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;

    private String avatar;

    private String realName;

    @JsonIgnore
    private String password;

    @JsonIgnore
    private String salt;

    private String phone;

    private Integer sex;

    private Integer state;

    private Integer createTime;

    private Integer updateTime;

    private String jobNumber;

//    private String position;


}
